package com.zz.spring6.iocxml.ditest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestEmp {

    public static void main(String[] args) {
        ApplicationContext context = new
                ClassPathXmlApplicationContext("bean-dlarray.xml");
        Emp emp = context.getBean("emp", Emp.class);
        emp.work();
    }
}
